<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<%@ Register TagPrefix="Galleries" Namespace="CommunityServer.Galleries.Controls" Assembly="CommunityServer.Galleries" %>
<%@ Control Language="C#" %>
<div class="CommonSidebarArea">
	<h4 class="CommonSidebarHeader"><CS:ResourceControl runat="server" ResourceName="Gallery_CategoriesList" id="Resourcecontrol1" /></h4>
	<div class="CommonSidebarContent">
	<CA:TreeView id="TreeView1" AutoPostBackOnSelect="false" AutoPostBackOnNodeMove="false" AutoPostBackOnNodeRename="false"
		DragAndDropEnabled="false" NodeEditingEnabled="false" KeyboardEnabled="true" CssClass="TreeView"
		NodeCssClass="TreeNode" SelectedNodeCssClass="SelectedTreeNode" HoverNodeCssClass="HoverTreeNode"
		NodeEditCssClass="NodeEdit" LineImageWidth="19" LineImageHeight="20" DefaultImageWidth="16"
		DefaultImageHeight="16" ItemSpacing="0" NodeLabelPadding="3" ParentNodeImageUrl="folders.gif"
		LeafNodeImageUrl="folder.gif" ExpandedParentNodeImageUrl="folder.gif" ShowLines="True" EnableViewState="False"
		runat="server" AutoScroll="False" CausesValidation="False" CollapseNodeOnSelect="False" ExtendNodeCells="True"
		FillContainer="True">
		<Templates>
			<ca:NavigationCustomTemplate ID="ItemTemplate">
				<Template>
						&nbsp;<a href='<%# Container.Attributes["ViewCategoryURL"] %>'>
						<%# DataBinder.Eval(Container.DataItem, "Text") %>
						<em>
							<%# Container.Attributes["ImageCount"] %>
						</em></a>
				</Template>
			</ca:NavigationCustomTemplate>
		</Templates>
	</CA:TreeView>
	</div>
</div>
